package com.qdy.repository;

import com.qdy.entity.dynamic.DynamicComment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by qudingyi on 2017/4/22.
 */
public interface DynamicCommentRepository  extends JpaRepository<DynamicComment,Long>{
        List<DynamicComment>  findByDynamicIdOrderByCommentTimeDesc(Long dynamicId);
 }
